<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h3>修改密码</h3>
<form name="loginForm" id="loginForm" method="post" style="width:50%; margin:0 auto" th:action="'/user/doUpdatePassword'">
    <div class="form-group">
        <div class="row">
            <label class="form-label col-md-4">请输入新密码</label>
            <div class="col-md-5">
                <input id="password" name="password" class="form-control" type="password" placeholder="密码"
                       required="true" minlength="6" maxlength="16"/>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-5">
            <button class="btn btn-primary btn-block" type="reset" onclick="reset()">重置</button>
        </div>
        <div class="col-md-5">
            <button class="btn btn-primary btn-block" type="submit">修改</button>
        </div>
    </div>
</form>
</body>
</html>